#include <cstdio>
using namespace std;
#define N 1001
int n, m, k;
int ans[N];
int cnt[N];
//TODO: ...
int main() {
	freopen("testdata.in", "r", stdin);
	freopen("testdata.out", "w", stdout);

	scanf("%d", &n, &m, &k);
	int tmp;
	for (int i = 1; i <= n; ++i) {
		for (int j = 1; j <= m; ++j) {
			scanf("%d", &tmp);
			ans[tmp];
		}
	}
	fclose(stdin);
	fclose(stdout);
	return 0;
}